import myaxios from "../MyAxios";
import BASEURL from "../BaseUrl"

const JKTURL = BASEURL.JKTURL
const loginApi = {
    /**登录 */
    loginuser(params) {
        let url = JKTURL + '/user1/login'
        return myaxios.post(url, params)
    },
    /**管理员手机查重 */
    checkphone(params) {
        let url = JKTURL + '/user1/phone'
        return myaxios.get(url, params)
    },

    /**注册 */
    reguser(params) {
        let url = JKTURL + '/user1/register'
        return myaxios.post(url, params)
    }

}
export default loginApi;